<template>
    <div>
        {{ x }},{{ y }}
    </div>
    
    
</template>

<script>
import {ref} from 'vue'
export default {
    name:'Word',
    setup(){
        
        let num = 100;

        let x = ref(num+(Math.random()*window.innerHeight-num))
        let y = ref(window.innerWidth)



        return{
            x,
            y
        }
    }

}
</script>

<style  scoped>

div{
    width: 50px;

}

</style>